using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    public class hfg_scoresetup
    {
        private int? _id;
        private int? _orgid;
        private byte _orgtype;
        private string _stpname = String.Empty;
        private DateTime? _startdate;
        private DateTime? _enddate;
        private string _lvlid = String.Empty;
        private string _hotelstar = String.Empty;
        private string _roomtype = String.Empty;
        private int? _unitscore;
        private string _stpcomment = String.Empty;
        private DateTime? _indate;
        private string _inuser = String.Empty;

        public hfg_scoresetup()
        {
        }


        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _orgid = reader.GetInt32(1);
        //        if (!reader.IsDBNull(2)) _orgtype = reader.GetByte(2);
        //        if (!reader.IsDBNull(3)) _stpname = reader.GetString(3);
        //        if (!reader.IsDBNull(4)) _startdate = reader.GetDateTime(4);
        //        if (!reader.IsDBNull(5)) _enddate = reader.GetDateTime(5);
        //        if (!reader.IsDBNull(6)) _lvlid = reader.GetString(6);
        //        if (!reader.IsDBNull(7)) _hotelstar = reader.GetString(7);
        //        if (!reader.IsDBNull(8)) _roomtype = reader.GetString(8);
        //        if (!reader.IsDBNull(9)) _unitscore = reader.GetInt32(9);
        //        if (!reader.IsDBNull(10)) _stpcomment = reader.GetString(10);
        //        if (!reader.IsDBNull(11)) _indate = reader.GetDateTime(11);
        //        if (!reader.IsDBNull(12)) _inuser = reader.GetString(12);
        //    }
        //}


        #region Public Properties
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int? orgid
        {
            get { return _orgid; }
            set { _orgid = value; }
        }

        public byte orgtype
        {
            get { return _orgtype; }
            set { _orgtype = value; }
        }

        public string stpname
        {
            get { return _stpname; }
            set { _stpname = value; }
        }

        public DateTime? startdate
        {
            get { return _startdate; }
            set { _startdate = value; }
        }

        public DateTime? enddate
        {
            get { return _enddate; }
            set { _enddate = value; }
        }

        public string lvlid
        {
            get { return _lvlid; }
            set { _lvlid = value; }
        }

        public string hotelstar
        {
            get { return _hotelstar; }
            set { _hotelstar = value; }
        }

        public string roomtype
        {
            get { return _roomtype; }
            set { _roomtype = value; }
        }

        public int? unitscore
        {
            get { return _unitscore; }
            set { _unitscore = value; }
        }

        public string stpcomment
        {
            get { return _stpcomment; }
            set { _stpcomment = value; }
        }

        public DateTime? indate
        {
            get { return _indate; }
            set { _indate = value; }
        }

        public string inuser
        {
            get { return _inuser; }
            set { _inuser = value; }
        }
        #endregion
    }
}
